﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ShevaEngine.Core.Attributes
{
    /// <summary>
    /// Bounding attribute.
    /// </summary>
    [AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
    public sealed class BoundingAttribute : Attribute
    {
        /// <summary>Minimal value.</summary>
        public Object MinValue { get; set; }
        /// <summary>Maximal value.</summary>
        public Object MaxValue { get; set; }

        // This is a positional argument
        public BoundingAttribute(Object minValue, Object maxValue)
        {
            this.MinValue = minValue;
            this.MaxValue = maxValue;
        }
    }
}
